<head>
	<link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl."/css/jquery-ui.css" ?>">
  	<script src="<?php echo Yii::app()->request->baseUrl."/js/jquery-1.9.1.js" ?>"></script>  	
  	<script src="<?php echo Yii::app()->request->baseUrl."/js/jquery-ui.js" ?>"></script>  	  	  
  <script>
  $(function() {
    $( "#tabs" ).tabs();
  });
  </script>
</head>
<?php
$this->pageTitle=Yii::app()->name . ' - Fixtures';
$url=$this->createUrl("fixture/fixture");
$this->breadcrumbs=array('Seleccion de Decada'=>$url,'Campeonatos Decada de '.$model->decada->nombre);
?>

<h1>Fixtures - Campeonatos de <?php echo $model->decada->nombre?></h1>
<div class="torneosContainer rounded">
<?php include("torneos.php")?>
</div>
<div class="mainContainer rounded">
	<div class="faseContainer">
		<?php include("fases.php") ?>
	</div>
	<div class="endline"></div>
	<?php if ($model->fase->tipo==3){?>
		<?php include("fixturePlayOff.php");?>
	<?php }else{?>	
	<div id="tabs" class="chico">
	<ul>
    	<li><a href="#tabs-1">Fixture</a></li>
    	<li><a href="#tabs-2">Posiciones</a></li>    
  	</ul>
  	<div id="tabs-1">
		<?php include("fixtureFecha.php");?>
	</div>
	<div id="tabs-2">
		<?php include("posiciones.php");?>
	</div>
	</div>
	<?php }?>
</div>
<div class="endline"></div>